<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta name="format-detection" content="telephone=no"/>
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <meta name="apple-mobile-web-app-status-bar-style" content="black"/>
    <script src="/js/resize.js"></script>
    <% include baiduTJ.html %>
    <link rel="stylesheet" href="/css/myreset.min.css">
    <link rel="stylesheet" href="/css/animate.css">
    <link rel="stylesheet" href="/main/css/index.css">
    <title><%= title %></title>
</head>
<body>
<div class="outer">
    <div class="container" id="container">
        <div class="buycart animated fadeInRightBig"></div>
        <div class="rule"></div>
        <div class="share"></div>
        <div class="click-area"></div>
    </div>
</div>

<div class="dialog animated fadeIn">
    <div class="tip"></div>
</div>

<script src="/js/zepto.1.1.6.min.js"></script>
<script src="/js/base.2.0.js"></script>
<script src="/js/jweixin-1.0.0.js"></script>
<script src="/js/weixin.js"></script>
<% include wxshare.html %>
<% include music.html %>
<script>
    $(function () {
        var dh = $(window).height();
        var ch = $("#container").height();
        if (ch > dh) {
            var ro = dh / ch;
            $(".outer").css({
                "font-size": ro + "rem"
            });
        }

        $(".share").on("tap", function () {
            playBtn();
            $(".dialog").show();
        });

        $(".dialog").on("tap", function () {
            $(this).hide();
        })
    })
</script>
<script>
    $(".rule").on("tap", function () {
        playBtn(function () {
            window.location.href = "/index/rule?openid=" + getQueryString("openid");
        });
        return false;
    })

    $(".click-area").on("tap", function () {
        window.location.href = "http://scb.helloshineshow.com/pl-card/index.html?pid=WechatCart";
        return false;
    });
</script>
</body>
</html>